package com.ithanwen.service;

import com.github.pagehelper.PageInfo;
import com.ithanwen.pojo.PageResult;
import com.ithanwen.pojo.Student;
import com.ithanwen.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {
    PageResult page(StudentQueryParam studentQueryParam);

    void deleteByIds(List<Integer> ids);

    void add(Student student);

    Student findById(Integer id);

    void update(Student student);

    void updateViolation(Integer id, Short score);
}
